package com.smartpro.mis.modular.system.model;

import java.io.Serializable;

import com.baomidou.mybatisplus.enums.IdType;
import java.math.BigDecimal;
import com.baomidou.mybatisplus.annotations.TableId;
import com.baomidou.mybatisplus.activerecord.Model;
import com.baomidou.mybatisplus.annotations.TableName;

import javax.validation.constraints.NotNull;
import java.io.Serializable;

/**
 * <p>
 * 推广员表
 * </p>
 *
 * @author mengiy
 * @since 2019-05-07
 */
@TableName("settingMsg")
public class SettingMsg extends Model<SettingMsg> {

    private static final long serialVersionUID = 1L;

    /**
     * 设置id
     */
    @TableId(value = "settingID",type = IdType.INPUT)
    @NotNull
    private Integer settingID;
    /**
     * 设置名称
     */
    private String settingName;
    /**
     * 设置值
     */
    private String settingValue;
    /**
     * 设置说明
     */
    private String explain;
    /**
     * 新建时间
     */
    private String createTime;
    /**
     * 修改时间
     */
    private String modifyTime;
    /**
     * 操作员id
     */
    private Integer operatorID;


    public Integer getSettingID() {
			return settingID;
		}


		public void setSettingID(Integer settingID) {
			this.settingID = settingID;
		}


		public String getSettingName() {
			return settingName;
		}


		public void setSettingName(String settingName) {
			this.settingName = settingName;
		}


		public String getSettingValue() {
			return settingValue;
		}


		public void setSettingValue(String settingValue) {
			this.settingValue = settingValue;
		}


		public String getExplain() {
			return explain;
		}


		public void setExplain(String explain) {
			this.explain = explain;
		}


		public String getCreateTime() {
			return createTime;
		}


		public void setCreateTime(String createTime) {
			this.createTime = createTime;
		}


		public String getModifyTime() {
			return modifyTime;
		}


		public void setModifyTime(String modifyTime) {
			this.modifyTime = modifyTime;
		}


		public Integer getOperatorID() {
			return operatorID;
		}


		public void setOperatorID(Integer operatorID) {
			this.operatorID = operatorID;
		}


		@Override
    public String toString() {
        return "SettingMsg{" +
        "settingID=" + settingID +
        ", settingName=" + settingName +
        ", settingValue=" + settingValue +
        ", explain=" + explain +
        ", createTime=" + createTime +
        ", modifyTime=" + modifyTime +
        ", operatorID=" + operatorID +
        "}";
    }


		@Override
		protected Serializable pkVal() {
			// TODO Auto-generated method stub
			return this.settingID;
		}
}
